package com.mingke.db.Entity;

//COLUMN_NAME, DATA_TYPE, COLUMN_KEY, COLUMN_COMMENT
//数据表中数据列的实体类，一个表需要携带多个此对象
public class SchemaTableColumn {
    private String COLUMN_NAME;
    private String DATA_TYPE;
    private String COLUMN_KEY;
    private String COLUMN_COMMENT;

    public String getCOLUMN_NAME() {
        return COLUMN_NAME;
    }

    public void setCOLUMN_NAME(String COLUMN_NAME) {
        this.COLUMN_NAME = COLUMN_NAME;
    }

    public String getDATA_TYPE() {
        return DATA_TYPE;
    }

    public void setDATA_TYPE(String DATA_TYPE) {
        this.DATA_TYPE = DATA_TYPE;
    }

    public String getCOLUMN_KEY() {
        return COLUMN_KEY;
    }

    public void setCOLUMN_KEY(String COLUMN_KEY) {
        this.COLUMN_KEY = COLUMN_KEY;
    }

    public String getCOLUMN_COMMENT() {
        return COLUMN_COMMENT;
    }

    public void setCOLUMN_COMMENT(String COLUMN_COMMENT) {
        this.COLUMN_COMMENT = COLUMN_COMMENT;
    }

    public SchemaTableColumn(String COLUMN_NAME, String DATA_TYPE, String COLUMN_KEY, String COLUMN_COMMENT) {
        this.COLUMN_NAME = COLUMN_NAME;
        this.DATA_TYPE = DATA_TYPE;
        this.COLUMN_KEY = COLUMN_KEY;
        this.COLUMN_COMMENT = COLUMN_COMMENT;
    }

    public SchemaTableColumn() {
    }

    @Override
    public String toString() {
        return "SchemaTableColumn{" +
                "COLUMN_NAME='" + COLUMN_NAME + '\'' +
                ", DATA_TYPE='" + DATA_TYPE + '\'' +
                ", COLUMN_KEY='" + COLUMN_KEY + '\'' +
                ", COLUMN_COMMENT='" + COLUMN_COMMENT + '\'' +
                '}';
    }
}
